from abc import ABC

from src.application.common.interfaces.uow import UnitOfWork
from src.application.user.interfaces.reader.user_reader import UserReader
from src.application.user.interfaces.repo.user_repo import UserRepo


class UserUoW(UnitOfWork, ABC):
    def __init__(
        self,
        user_repo: UserRepo,
        user_reader: UserReader,
    ) -> None:
        self.user_repo = user_repo
        self.user_reader = user_reader
